// To parse this JSON data, do
//
//     final roomBean = roomBeanFromJson(jsonString);

import 'dart:convert';

List<RoomBean> roomBeanFromJson(String str) => List<RoomBean>.from(json.decode(str).map((x) => RoomBean.fromJson(x)));

String roomBeanToJson(List<RoomBean> data) => json.encode(List<dynamic>.from(data.map((x) => x.toJson())));

class RoomBean {
  String tag;
  String roomUrl;
  int timeStamp;

  RoomBean({required this.tag, required this.roomUrl, required this.timeStamp});

  RoomBean copyWith({String? tag, String? roomUrl, int? timeStamp}) => RoomBean(tag: tag ?? this.tag, roomUrl: roomUrl ?? this.roomUrl, timeStamp: timeStamp ?? this.timeStamp);

  factory RoomBean.fromJson(Map<String, dynamic> json) => RoomBean(tag: json["tag"], roomUrl: json["roomUrl"], timeStamp: json["timeStamp"]);

  Map<String, dynamic> toJson() => {"tag": tag, "roomUrl": roomUrl, "timeStamp": timeStamp};
}
